import Vue from 'vue';
import App from './App';
import router from './router';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import axios from 'axios';
import VueAxios from 'vue-axios';
import JSEncrypt from 'jsencrypt'
import'./assets/css/global.css'

Vue.config.productionTip = false;
// 挂载axios
Vue.prototype.$http = axios;
// 设置访问根路径
axios.defaults.baseURL = "http://localhost:8000";

Vue.use(VueAxios,axios);
Vue.use(ElementUI);


new Vue({
  el: '#app',
  router,
  render: h => h(App) // ElementUI
});
